/**
 * 
 */
package org.istt.dao;

import java.util.List;
import org.istt.domain.Field;

/**
 * @author Huy
 *
 */
public interface FieldDao extends Dao<Field, Long> {

    public List<Field> getFields();
    public Field getField(Long fieldId);
    public void saveField(Field field);
    public void removeField(Long fieldId);
    public List<Field> searchField(String name);
    
    public Field getFieldByDepartment(Long depID);
    
}
